<style>
/*清除浮动*/
.clearfix:after {content:"."; display:block; height:0; visibility:hidden; clear:both; }
.clearfix { *zoom:1; }
.remark{
    border: 1px #ddd solid;
    border-radius: 3px;
    padding: 10px;
}
.remark-box{
    float: left;
    width: 80%;
}
.dateuser{
    text-align: right;
    float: right;
    width: 20%;
}
</style>
<div class="contents">
    <ol class="breadcrumb">
        <li>
            <a href="#/index/panel">首页</a>
        </li>
        <li class="active">
            <a href="{{url}}">用户行为列表页</a>
        </li>
        <li class="active">用户行为详情页</li>
    </ol>
    <p>
        <strong>登录手机：</strong>
        <span style="font-size: 14px;">{{arr.loginName}}</span>
    </p>
    <table class="table table-bordered">
        <thead>
            <tr>
                <th width="150">菜单</th>
                <th colspan="3">点击按钮</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td colspan="4" style="padding: 0;margin: 0;">
                    <div style="height: 400px;overflow: auto;">
                        
                        <table class="table table-bordered" style="width:100%;">
                                <tr ng-repeat="tr in btnList" width="100%">
                                    <td class="text-muted" width="150"><button class="btn btn-primary">{{tr.key | customerClickBtnType }}</button></td>
                                    <td colspan="3">
                                        <span  ng-repeat="td in tr.actionList">
                                            <button class="btn" style="margin: 5px 0 0 5px;">{{td.type | customerClickBtnType}}
                                               <a style="color:blue;" target="_blank" ng-if="td.path=='/product/pevc/list'&&td.otherJson!=''" href="{{staticHost}}/product/pevc/view/{{td.otherJson}}">{{td.productName}}
                                            </a>
                                            <a target="_blank" style="color:blue;"  ng-if="td.path!='/product/pevc/list'&&td.otherJson!=''" href="{{staticHost}}/analyse4/{{td.otherJson}}"> {{td.productName}}
                                                </a>
                                            </button>
                                        </span>
                                    </td>
                                </tr>               
                        </table>
                    </div>                    
                </td>
            </tr>
        </tbody>
    </table>
    <p ng-if="arr.loginName" class="text-uppercase" style="color: #f00;padding-bottom: 10px;">备注</p>
   <div style="height:200px;overflow: auto;">
    <div class="remark clearfix" ng-if="arr.loginName" ng-repeat="v in visitList" id="auditRemarks" name="auditRemarks">
        <div class="remark-box" >
            {{v.remark}}
        </div>
        <div class="dateuser">{{v.createBy}}<br/>{{v.createDate | date : 'yyyy-MM-dd HH:mm:ss'}}</div>
        
    </div>
    </div>
    <div ng-if="arr.loginName" class="form-inline">
    <textarea type="text" style="width:100%;display:block" class="form-control" placeholder="不超过250个字" ng-model="behavior.remarkInfo" /></textarea>
        <input type="button" style="margin:10px auto;display:block" value="提交" class="btn btn-success" ng-click="addRemark()" style=" float:right" />
    </div>
</div>